package com.example.floatingpopulation.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class TemporaryPopulation {
    private Integer id;
    private String residentPensonnel;
    private String userId;
    private String name;
    private String idCard;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dateOfBirth;
    private String sex;
    private String nation;
    private String householdRegistrationLocation;
    private String nativePlace;
    private String politicalStatus;
    private String phone;
    private String temporaryResidenceAddress;
    private String temporaryResidenceCertificate;
    private String remarks;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
}
